package com.caiyi.tips.user.service;

import com.caiyi.tips.core.VO.ResultVO;
import com.caiyi.tips.user.DTO.SmsDTO;
import com.caiyi.tips.user.bean.UserBean;
import org.apache.catalina.User;

/*
 * @author Cliff.ZhouYang
 * @date 2017/11/8 15:59
 */
public interface UserService {
    //注册
    ResultVO register(UserBean userBean);

    UserBean createUser(UserBean userBean);

    int saveUser(UserBean userBean);

    void checkYzm(UserBean userBean);

    ResultVO login(UserBean userBean);

    ResultVO checkPhone(String phone, Integer type);

    ResultVO checkNickid(String nickid, Integer type);

    boolean isExistPhone(String phone, Integer type);

    void updateUserInfo(UserBean userBean);
}
